﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace LogForParameter.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable( "MEDICAL_ORDER_DRUG", "wmblog_oracle")]
    public class MEDICAL_ORDER_DRUG
    {
           public MEDICAL_ORDER_DRUG()
           {
           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>
           [SugarColumn(IsPrimaryKey=true)]
           public string ORDER_SN { get; set; }
           /// <summary>
           /// Desc:住院流水号
           /// Default:
           /// Nullable:True
           /// </summary>
           public string PATIENT_SN { get; set; }
           /// <summary>
           /// Desc:医嘱代码
           /// Default:
           /// Nullable:True
           /// </summary>
           public string ORDER_CODE { get; set; }
           /// <summary>
           /// Desc:医嘱内容
           /// Default:
           /// Nullable:True
           /// </summary>
           public string ORDER_CONTENT { get; set; }
           /// <summary>
           /// Desc:药品类别(对应字典中的“医嘱类别”)
           /// Default:
           /// Nullable:True
           /// </summary>
           public string DRUG_TYPE { get; set; }
           /// <summary>
           /// Desc:父医嘱流水号
           /// Default:
           /// Nullable:True
           /// </summary>
           public string PARENT_ORDER_SN { get; set; }
           /// <summary>
           /// Desc:0既不自费也不自备 1自费 2自备
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? SELF_DRUG { get; set; }
           /// <summary>
           /// Desc:药品规格
           /// Default:
           /// Nullable:True
           /// </summary>
           public string DRUG_SPEC { get; set; }
           /// <summary>
           /// Desc:途径代码
           /// Default:
           /// Nullable:True
           /// </summary>
           public string ROUTE_CODE { get; set; }
           /// <summary>
           /// Desc:途径名称
           /// Default:
           /// Nullable:True
           /// </summary>
           public string ROUTE_NAME { get; set; }
           /// <summary>
           /// Desc:剂量
           /// Default:
           /// Nullable:True
           /// </summary>
           public double? DOSE { get; set; }
           /// <summary>
           /// Desc:剂量单位
           /// Default:
           /// Nullable:True
           /// </summary>
           public string DOSE_UNIT { get; set; }
           /// <summary>
           /// Desc:1需要皮试 0不需要 2续皮试
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? SKIN_TEST { get; set; }
           /// <summary>
           /// Desc:1未录入 2未确认 3已确认
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? SKIN_TEST_STATUS { get; set; }
           /// <summary>
           /// Desc:1阴性 2阳性 3其他
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? SKIN_TEST_RESULT { get; set; }
           /// <summary>
           /// Desc:剂型
           /// Default:
           /// Nullable:True
           /// </summary>
           public double? DOSAGE_FORM { get; set; }
           /// <summary>
           /// Desc:总量单位
           /// Default:
           /// Nullable:True
           /// </summary>
           public string TOTAL_UNIT { get; set; }
           /// <summary>
           /// Desc:总量
           /// Default:
           /// Nullable:True
           /// </summary>
           public double? TOTAL { get; set; }
           /// <summary>
           /// Desc:数量
           /// Default:
           /// Nullable:True
           /// </summary>
           public double? DRUG_NUMBER { get; set; }
           /// <summary>
           /// Desc:用药说明
           /// Default:
           /// Nullable:True
           /// </summary>
           public string REMARKS { get; set; }
           /// <summary>
           /// Desc:皮试时间
           /// Default:
           /// Nullable:True
           /// </summary>
           public DateTime? SKIN_TEST_TIME { get; set; }
           /// <summary>
           /// Desc:皮试结果录入时间
           /// Default:
           /// Nullable:True
           /// </summary>
           public DateTime? SKIN_TEST_RESULT_TIME { get; set; }
           /// <summary>
           /// Desc:皮试结果创建人工号
           /// Default:
           /// Nullable:True
           /// </summary>
           public string RESULT_CREATOR { get; set; }
           /// <summary>
           /// Desc:皮试确认时
           /// Default:
           /// Nullable:True
           /// </summary>
           public DateTime? COMFIRM_TIME { get; set; }
           /// <summary>
           /// Desc:皮试确认工号
           /// Default:
           /// Nullable:True
           /// </summary>
           public string COMFIRM_OPERATOR { get; set; }
           /// <summary>
           /// Desc:0不是出院带药 其他 出院带药天数
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? LEAVE_DAYS { get; set; }
           /// <summary>
           /// Desc:1嘱托 0否
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? ENTRUST { get; set; }
           /// <summary>
           /// Desc:批号
           /// Default:
           /// Nullable:True
           /// </summary>
           public string BATCH_NUMBER { get; set; }
           /// <summary>
           /// Desc:皮试结束时间
           /// Default:
           /// Nullable:True
           /// </summary>
           public DateTime? SKIN_END_TIME { get; set; }
           /// <summary>
           /// Desc:医保备案号对应wd_tsba
           /// Default:
           /// Nullable:True
           /// </summary>
           public string BAH { get; set; }
           /// <summary>
           /// Desc:审评标志
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? SPBZ { get; set; }
           /// <summary>
           /// Desc:自负判别
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? ZFPB { get; set; }
           /// <summary>
           /// Desc:特殊频率的用药说明早中晚这样子的
           /// Default:
           /// Nullable:True
           /// </summary>
           public string SPECIAL_REMARK { get; set; }
           /// <summary>
           /// Desc:给药时机：1餐前、2餐时、3餐后、4.、空腹、5晨起时、6临睡前、7检查前;
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? ADMINISTRATION_TIMING { get; set; }
           /// <summary>
           /// Desc:开抗菌药物时，填写用药目的：1预防、2治疗、3围手术期用药。
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? PURPOSE_MEDICATION { get; set; }
           /// <summary>
           /// Desc:药房单位
           /// Default:
           /// Nullable:True
           /// </summary>
           public string YFDW { get; set; }
           /// <summary>
           /// Desc:药品产地传到his用
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? YPCD { get; set; }
           /// <summary>
           /// Desc:出院带药早中晚的用量单温
           /// Default:
           /// Nullable:True
           /// </summary>
           public string YLDW { get; set; }
           /// <summary>
           /// Desc:医嘱多频次录入早中晚信息
           /// Default:
           /// Nullable:True
           /// </summary>
           public string MULTIORDERDATA { get; set; }
           /// <summary>
           /// Desc:出院带药用药理由
           /// Default:
           /// Nullable:True
           /// </summary>
           public string USERREASON { get; set; }
           /// <summary>
           /// Desc:出院带药用药天数显示使用
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? USERDAYS { get; set; }
           /// <summary>
           /// Desc:静滴给药途径下的滴速描述
           /// Default:
           /// Nullable:True
           /// </summary>
           public string DRIPSPEED { get; set; }
           /// <summary>
           /// Desc:是否首日：1是
           /// Default:
           /// Nullable:True
           /// </summary>
           public short? FIRSTDAY { get; set; }
    }
}